package cn.zyx.sys.entity;

import cn.zyx.common.entity.DataEntity;
import com.google.common.collect.Lists;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 数据字典Entity
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DictType extends DataEntity<DictType> {
	
	private static final long serialVersionUID = 1L;

	private String type;		// 类型

	private String description;		// 描述

	private List<DictValue> dictValueList = Lists.newArrayList();		// 子表列表

	public DictType() {
		super();
	}

	public DictType(String id){
		super(id);
	}

}